package reading.common.setting;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author yangbajing(yangbajing @ gmail.com) on 2016-09-08.
 */
@Component
@ConfigurationProperties(prefix = "reading.sys")
@Data
public class SysSetting {

    /**
     * 是否开启＼验证码校验
     */
    Boolean valdateCode;

    /**
     * 信用中心组织编号
     */
    private String xyzxOrgId;

    private String blackTableName;

    /**
     * 赛思报表证书文件的位置
     */
    private String succezBiPath;

    /**
     * 文件上传目录（不包含结尾/）
     */
    private String fileUploadPath;

    /**
     * 部署文件目录
     */
    private String deployFilePath;

    /**
     * 文件访问URI目录（不包含结尾/）
     */
    private String fileUploadUri;

    private int downloadMaxSize;

    private String initPass;
    private String allowUser;
    private String siteV1;
    private String v1MainSite;
    private String ip;
    /**
     * 双随机系统地址
     */
    private String ssjxtUrl;
    /**
     * 双随机前端地址
     */
    private String ssjxtPreUrl;
    private String ggqyUrl;

    private String ggqyIdentity;
    private String ggqyKey;
    /**
     * 用户数据拉取
     */
    private String userSwitch;
    /**
     * 用户时间
     */
    private String userTime;

    private String rootUserId;

    private String knowledgeUrl;
    private String ssoUrl;
    private String appId;
    private String appKey;
    /**
     * windows 上次路径
     */
    private String fileWinUploadPath;
}